<!-- clapper配置 -->
<template>
    <div>
        <el-form-item label="地址">
            <avue-input
                type="textarea"
                :disabled="disabled"
                v-model="main.activeObj.data.value"
            ></avue-input>
        </el-form-item>
        <el-form-item label="自动播放">
            <avue-switch
                :disabled="disabled"
                v-model="main.activeOption.autoplay"
            ></avue-switch>
        </el-form-item>
    </div>
</template>

<script>
export default {
    name: "clapper",
    inject: ["main", "contain"],
    data() {
        return {
            disabled: this.contain.activeObj.isLock
        };
    }
};
</script>

<style></style>
